PATH Mac OS 8 Developer Documentation
> Operating System Services
> Multiprocessing Services
>
|

Adding Multitasking Capability to Applications Using Multiprocessing Services
|
MyRemoteProcedure
When calling
MPRemoteCall
, you must designate an application-defined function to handle any calls to nonreentrant functions (such as Mac OS system software calls). For example, this is how you would declare the application-defined function if you were to name the function
MyRemoteProcedure
:
void* MyRemoteProcedure (void *parameter);
-
parameter
-
A pointer to any information you want to pass to
MyRemoteProcedure
. For example,
parameter
might point to a parameter list that
MyRemoteProcedure
could then pass to a Mac OS system software function.
DISCUSSION
Note that your application-defined function must be PowerPC native code, since Multiprocessing Services tasks cannot call 68K code.
VERSION NOTES
Introduced with Multiprocessing Services 2.0.
© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)